26a7f87d7dabf8477deb87ad04732455807a59ba,src/java/org/orbeon/oxf/xforms/XFormsSubmissionUtils.java,XFormsSubmissionUtils,doRegular,#PipelineContext#ExternalContext#String#String#String#boolean#number[]#String#,127
Before Change
urlConnection.setDoInput(true);
urlConnection.setDoOutput(!isGet(method)); // Only if POST / PUT
urlConnection.setRequestMethod(method.toUpperCase());
if (!isGet(method))
urlConnection.setRequestProperty("content-type", (mediatype != null) ? mediatype : "application/xml");
After Change
urlConnection.setDoOutput(!isGet(method)); // Only if POST / PUT
if (httpURLConnection != null) {
httpURLConnection.setRequestMethod(method.toUpperCase());
}
if (!isGet(method))
urlConnection.setRequestProperty("content-type", (mediatype != null) ? mediatype : "application/xml");